<template>
  <div class="shuxin">
    <h2>事件修饰符</h2>
 <form action="">
  <input type="text" @keyup="two">
  <button @click.prevent='one'>按钮</button>
 </form>
  </div>
</template>

<script>
export default {
methods:{
  one(){
    console.log(123)
  },
  two(){
    console.log(456)

  }
}
  
}
</script>

<style>
</style>
